package de.tum.beilmeiner.im.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import de.novanic.eventservice.client.event.domain.Domain;
import de.tum.beilmeiner.im.shared.model.User;

@RemoteServiceRelativePath("MessagingService")
public interface MessagingService extends RemoteService{

	public void sendLoginRequest(Domain UUID, String username, String password);
	public void updateContactList(Domain USER_DOMAIN, User triggerUser);
	public void sendLogoutRequest(Domain USER_UUID, User user);
	public void createChatRoom(Domain USER_UUID, User user1, User user2);
}
